﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TelnetRouterApplication.Model;

namespace TelnetRouterApplication.Control
{
    public class ConfigutarionHandler
    {
        //Essa classe é responsável por guardar os valores importantes da conexão e mantê-los

        private static bool _DEBUG = false;
        public static bool DEBUG
        {
            get { return ConfigutarionHandler._DEBUG; }
            set { ConfigutarionHandler._DEBUG = value; }
        }

        private static ConfigutarionHandler instance;
        private ConfigutarionHandler() { }

        public static ConfigutarionHandler GetInstance()
        {
            if (instance == null)
            {
                instance = new ConfigutarionHandler();
            }
            return instance;
        }

        private SettingsModel routerSettings;
        public SettingsModel RouterSettings
        {
            get { return routerSettings; }
            set { routerSettings = value; }
        }


    }
}
